Bees, wasps and ants all belong to the same order: the Hymenoptera. They generally have two large compound eyes and three simple eyes or 'ocelli'. The ocelli are typically positioned in a triangle, above and between the two compound eyes (kind of on the bridge of the insect's nose, if it had such a thing), and if seen in photographs they generally appear as three black dots. One is directed to the left, one to the right, and the central one looks straight ahead. (Some ants do not have the central ocellus, and therefore have only four eyes.)
The resolution of the compound eyes is quite poor compared with human eyes. According to Professor John Lienhard at the University of Houston, "such an eye would have to be as big as a house to match the resolution of your eyes or mine." As for the ocelli: they don't detect form at all, but they do sense light and dark with great speed. They're used in flight, probably to maintain stability. (What do non–flying ants use them for? Don't ask me!)
© Haydn Thompson 2022